package com.jarvis.jarvischat.feign;
import com.jarvis.common.utils.R;
import com.jarvis.jarvischat.vo.ConfigFormworkVo;
import com.jarvis.jarvischat.vo.UserRecordVo;
import com.jarvis.jarvischat.vo.UserVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;


@Component
@FeignClient(value = "jarvis-config",url ="localhost:11000")
public interface ConfigFeignService {

    @RequestMapping("/chat/{formwordId}")
    public ConfigFormworkVo getFormword(@PathVariable("formwordId") long formwordId);

}
